no-bootscrub will disable boot-time RAM scrubbing, speeding up boot
time significantly on big-memory systems.
Signed-off-by: Keir Fraser <keir@xensource.com>
static char opt_badpage[100] = "";
string_param("badpage", opt_badpage);
+/*
+ * no-bootscrub -> Free pages are not zeroed during boot.
+ */
+static int opt_bootscrub __initdata = 1;
+boolean_param("bootscrub", opt_bootscrub);
+
/*
* Bit width of the DMA heap.
*/
void *p;
unsigned long mfn;
+ if ( !opt_bootscrub )
+ return;
+
printk("Scrubbing Free RAM: ");
for ( mfn = first_valid_mfn; mfn < max_page; mfn++ )